var mongoose = require('mongoose');

//模式
var MainSchema = require('../schemas/main');

//编译模型
var Main = mongoose.model('mains',MainSchema); //与集合关联

module.exports = Main;